package com.cn.kabalifeuser.ui.login;

import android.content.Context;

import com.cn.kabalifeuser.ui.login.bean.AgreementBean;
import com.cn.kabalifeuser.ui.login.bean.LoginBean;
import com.cn.kabalifeuser.ui.login.bean.LoginLibBean;
import com.cn.kabalifeuser.ui.login.bean.MsgBean;
import com.cn.kabalifeuser.ui.login.bean.RegisterBean;

/**
 * Created by 晓林 on 2020/9/2.
 * function:
 */
public interface LoginView {

    void onReLoggedIn(String msg);

    void onError(String msg);

    Context _getContext();

    void onPhoneCodeSuccess(MsgBean bean);

    void onLoginSuccess(LoginBean bean);

    void onRegisterSuccess(RegisterBean bean);

    void onLoginLibSuccess(LoginLibBean bean);
    void onAgreementSuccess(AgreementBean bean);
}
